package com.loongtech.bi.manager.game;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;

import com.loongtech.bi.entity.game.EntityNewUserSchool;
import com.loongtech.core.jpa.manager.ManagerQueryCacheBase;

/**
 * 新增用户职业
 * 
 */
@Service
public class NewUserSchoolManager extends ManagerQueryCacheBase<EntityNewUserSchool> {
	private static final long serialVersionUID = 1L;

	public List<EntityNewUserSchool> getAllNewUserSchool(Date dateStart, Date dateEnd) {
		return findByQuery("from EntityNewUserSchool where day>=:dayStart and day<=:dayEnd and "
				+ "platformid = '0' and channelid = '0' and serverid = '0' ", "dayStart", dateStart, "dayEnd", dateEnd);
	}
}
